Show AllShow All

Clear Method

ShowClear method as it applies to the ChartArea and Legend objects.

ShowClear method as it applies to the Range object.

Example

This example clears the formulas and formatting in cells A1:G37 on the datasheet.

myChart.Application.DataSheet.Range("A1:G37").Clear
		

This example clears the chart area (the chart data and formatting) of Chart1.

myChart.ChartArea.Clear